﻿/// <summary>
/// 功能：FluentValidation资源文件
/// 作者：梁鸿茂
/// 日期：2012-10-16
/// 说明：http://fluentvalidation.codeplex.com/wikipage?title=Localization&referringTitle=Documentation
/// </summary>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Phoenix.Common
{

    public class FluentValidationResources
    {
        public static string CreditCardError
        {
            get { return "{PropertyName}是一个不合法的信用卡号"; }
        }

        public static string email_error
        {
            get { return "{PropertyName}是一个不合法的电子邮件地址"; }
        }

        public static string equal_error
        {
            get { return "{PropertyName}应该和{PropertyValue}相等"; }
        }

        public static string exact_length_error
        {
            get { return "{PropertyName}必须是{MaxLength}个字符，您已经输入了{TotalLength}个"; }
        }

        public static string exclusivebetween_error
        {
            get { return "{PropertyName}必须排除在{From}-{To}之间，您输入了{Value}"; }
        }

        public static string greaterthan_error
        {
            get { return "{PropertyName}必须大于{ComparisonValue}"; }
        }

        public static string greaterthanorequal_error
        {
            get { return "{PropertyName}必须大于或等于{ComparisonValue}"; }
        }

        public static string inclusivebetween_error
        {
            get { return "{PropertyName}必须在{From}-{To}之间，您输入了{Value}"; }
        }

        public static string length_error
        {
            get { return "{PropertyName}必须是{MinLength}到{MaxLength}个字符，您已经输入了{TotalLength}个"; }
        }

        public static string lessthan_error
        {
            get { return "{PropertyName}必须小于{ComparisonValue}"; }
        }

        public static string lessthanorequal_error
        {
            get { return "{PropertyName}必须小于等于{ComparisonValue}"; }
        }

        public static string notempty_error
        {
            get { return "{PropertyName}不能为空字符"; }
        }

        public static string notequal_error
        {
            get { return "{PropertyName}不能和{PropertyValue}相等"; }
        }

        public static string notnull_error
        {
            get { return "{PropertyName}不能为空"; }
        }

        public static string predicate_error
        {
            get { return "指定的条件不符合{PropertyName}"; }
        }

        public static string regex_error
        {
            get { return "{PropertyName}的格式不正确"; }
        }
    }
}
